package lv.lu.events.model;

import java.util.Date;

import lv.lu.events.interfaces.PersistentEntity;

public class Invite implements PersistentEntity {

	/**
	 * Persistent fields
	 */

	private Long id;

	private Date createdDate;

	private Event event;

	private User creator;

	private User invited;

	private InviteStatus status;

	private Date statusUpdateDate;
	
	/**
	 * Getters and setters
	 */
	
	public Long getId() {
		return id;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public Event getEvent() {
		return event;
	}

	public void setEvent(Event event) {
		this.event = event;
	}

	public User getCreator() {
		return creator;
	}

	public void setCreator(User creator) {
		this.creator = creator;
	}

	public User getInvited() {
		return invited;
	}

	public void setInvited(User invited) {
		this.invited = invited;
	}

	public InviteStatus getStatus() {
		return status;
	}

	public void setStatus(InviteStatus status) {
		this.status = status;
	}

	public Date getStatusUpdateDate() {
		return statusUpdateDate;
	}

	public void setStatusUpdateDate(Date statusUpdateDate) {
		this.statusUpdateDate = statusUpdateDate;
	}
}